package com.tledu.springboot04.domain;

import lombok.Data;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
public class Resource {
    private Integer id;
    private String resourceName;
    private String url;
    private String intro;
    private Integer parentId;
    private String type;
    private String perm;
    private String icon;
    private Integer sort;
    private String status;
    private Date createTime;
    private Date updateTime;
    private Integer createUser;
    private Integer updateUser;
    private List<Resource> children = new ArrayList<>();
}
